/* =========================== media =========================== */
a:hover,
a:focus {
  color: #009966;
}
.link-dark:hover,
.link-light:hover,
.link-white:hover,
.link-lighter:hover {
  color: #009966 !important;
}
.text-primary,
.color-primary {
  color: #009966 !important;
}
.btn-link:hover,
.btn-link:focus,
.btn-link.focus {
  color: #009966;
}
.btn-primary {
  border-color: #006644;
  background-color: #009966;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary.active {
  background-color: #00704b;
}
.nav.nav-tabs > li.active > a,
.nav.nav-tabs > li:hover > a {
  border-color: #009966;
  color: #009966;
}
.nav.nav-tabs > li.active > a .text-muted,
.nav.nav-tabs > li:hover > a .text-muted {
  color: #009966;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #009966;
}
.es-piece .piece-header {
  border-color: #009966;
}
.breadcrumb a:hover {
  color: #009966;
}
.course-detail-header .course-data > li .dropdown-toggle:hover,
.course-detail-header .course-data > li > a:hover {
  color: #009966;
}
.es-tabs .tab-header > ul > li > a:hover {
  color: #009966;
}
.class-serve > ul > li.active {
  background-color: #009966;
}
.article-metas .metas-body .title a:hover {
  color: #009966;
}
.media.media-number .media-body > a:hover {
  color: #009966;
}
.media-hot-comment .comments-info p a,
.media-hot-comment .comments-info h5 a:hover {
  color: #009966;
}
.class-signin .btn-signin {
  background-color: #009966;
}
.sidenav .list-group .list-group-item.active {
  border-color: #009966;
}
.sidenav .list-group .list-group-item.active > a {
  color: #009966;
}
.dropdown-menu > li > a:hover {
  background-color: #009966;
}
.es-bar-menu > ul > li.active,
.es-bar-menu > ul > li:hover {
  background-color: #009966;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #009966;
  border-color: #009966;
}
.badge-primary {
  background-color: #009966;
}
.es-filter .nav-sort > li > a:hover,
.es-filter .nav-sort > li > a.active {
  background-color: #009966;
}
.es-filter .filter label:hover {
  color: #009966;
}
.class-header.after .class-data > li > a:hover {
  color: #009966;
}
.class-header .class-data > li .dropdown-toggle:hover {
  color: #009966;
}
.progress-bar,
.rank_num {
  background-color: #009966;
}
.bar-task .bar-task-header,
.bar-task .bar-time-line > li:before {
  background-color: #009966;
}
.bar-task .bar-time-line > li .es-icon {
  color: #009966;
}
.nav-filter .nav-pills > li.dropdown > a:hover {
  color: #009966;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > li > a:hover {
  background-color: #009966;
}
.page-header .badge {
  background-color: #009966 !important;
}
.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: #009966;
}
/*首页分类导航*/
.homepage-category-nav {
  list-style: none;
  padding: 10px 5px;
  margin-bottom: 30px;
  background: #f9f9f9;
  border-bottom: 1px dotted #ccc;
  font-size: 16px;
  margin-left: 0;
}
.homepage-category-nav li {
  display: inline-block;
}
.homepage-category-nav li a {
  text-decoration: none;
  line-height: 32px;
  padding: 0 15px;
  display: inline-block;
  border-bottom: 2px solid #f9f9f9;
}
.homepage-category-nav li a:hover {
  border-bottom-color: #d9d9d9;
  text-decoration: none;
}
.course-grid:hover {
  /*box-shadow: 0 2px 8px #bbb;*/
  border-color: #e57259;
}
.homepage .news li em {
  width: 85px;
  float: right;
  text-align: right;
  font-style: normal;
  color: #a9a9a9;
}
.homepage .news ul.row {
  margin-right: -10px;
  margin-left: -10px;
  padding-left: 0px;
  list-style: none;
}
.homepage .news li span {
  color: #428bca;
  margin-right: 5px;
  text-decoration: none;
}
.homepage .news li a {
  color: #222;
  display: block;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.homepage .teachers ul,
.homepage .vip ul {
  margin-right: -10px;
  margin-left: -10px;
  padding-left: 0px;
  list-style: none;
}
.homepage .topic ul {
  margin-right: -15px;
  margin-left: -15px;
  padding-left: 0px;
  list-style: none;
}
.teachers li,
.vip li {
  padding-right: 10px;
  padding-left: 10px;
}
.teachers-item {
  margin-bottom: 20px;
  padding: 20px 10px;
  border: 1px solid #e1e1e1;
  text-align: center;
}
.teachers-item a,
.promot-teacher a {
  display: block;
  line-height: 24px;
  text-decoration: none;
}
.teachers-item img {
  display: inline-block;
  margin-bottom: 10px;
  width: 80px;
  height: 80px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.teachers-item span {
  line-height: 24px;
  height: 24px;
  display: block;
  overflow: hidden;
  color: #00b780;
}
.teachers-item i {
  margin-bottom: 10px;
  display: block;
  font-style: normal;
  height: 15px;
  line-height: 15px;
  overflow: hidden;
}
.teachers-item p {
  margin-top: 20px;
  font-size: 12px;
  height: 40px;
  text-align: left;
}
.vip-item {
  border: 1px solid #e1e1e1;
}
.vip-item .row {
  margin-left: -15px;
  margin-right: -15;
}
.vip-lists li {
  margin-bottom: 20px;
}
.vip-item h3,
p {
  color: #555;
}
.vip-item h4 {
  color: #e57259;
  text-decoration: none;
  text-align: center;
}
.vip-item img {
  width: 100%;
}
.vip-item a {
  overflow: hidden;
}
.vip-price {
  margin-top: 20px;
}
.topic-item {
  display: block;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid #e1e1e1;
}
.topic-item h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topic-item h4 > a {
  color: #444;
}
.topic > ul > li {
  overflow: hidden;
  margin-bottom: 25px;
  text-decoration: none;
}
.topic-body {
  display: block;
  overflow: hidden;
}
.topic-body img {
  width: 42px;
  height: 42px;
  margin-right: 10px;
}
.topic-body h3 {
  margin: 0;
  padding: 0;
}
.topic-body p {
  line-height: 20px;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topic-bottom {
  margin-top: 20px;
}
.tag-list a {
  border-radius: 5px;
  margin: 0 10px 10px 0;
  padding: 0 15px;
  display: inline-block;
  font-weight: 800;
  border: 1px solid #ddd;
  height: 30px;
  line-height: 30px;
  color: #777;
  text-decoration: none;
  background: #ddd;
}
.tag-list a:hover {
  border: 1px solid #096;
  color: #fff;
  background: #096;
}
.courses-rank li {
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  zoom: 1;
}
.courses-rank li img {
  display: block;
  width: 80px;
  height: 45px;
  margin: 0 15px 5px 0;
}
.courses-rank .course-title {
  color: #444;
  line-height: 45px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-side ul {
  padding-left: 0;
  list-style: none;
}
.status-side li {
  overflow: hidden;
}
.status-side li img {
  width: 50px;
  height: 50px;
}
.user-learn {
  border: 1px solid #ddd;
}
.user-learn img {
  width: 120px;
  height: 67px;
  margin-right: 5px;
  margin-bottom: 10px;
}
.user-learn p {
  line-height: 22px;
  font-weight: 700;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-learn .teacher-name {
  font-size: 12px;
}
.user-learn .progress {
  height: 5px;
  margin-left: 10px;
  margin-bottom: 5px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.user-learn .progress-bar {
  background-color: #096;
}
.user-learn .percentage {
  font-size: 12px;
  color: #aaa;
  margin-left: 10px;
}
.user-learn .continue {
  overflow: hidden;
  margin: 0 10px 10px;
}
.banner-announcement {
  background: #ebf6f1;
  height: 40px;
  margin-top: 0;
  margin-bottom: 0;
}
/* =========================== index =========================== */
.home-class-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.navbar-right .es-header {
  background: #363e45;
}
.home-class-list .class-item {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}
.home-class-list .class-item:hover {
  background: #f9f9f9;
}
.home-class-list .class-body {
  padding: 10px 0;
}
.home-class-list .class-picture-link {
  float: left;
  margin-right: 25px;
}
@media (max-width: 767px) {
  .home-class-list .class-picture-link {
    float: none;
    display: block;
    margin-right: 0;
  }
}
.home-class-list .class-picture-link > img {
  width: 213px;
}
@media (max-width: 767px) {
  .home-class-list .class-picture-link > img {
    width: 100%;
    display: block;
  }
}
.home-class-list .class-title {
  margin-bottom: 15px;
  margin-top: 0;
  font-size: 16px;
  height: 48px;
  line-height: 24px;
  color: #222;
  overflow: hidden;
}
.home-class-list .class-title a {
  font-weight: bold;
  color: #555;
}
.home-class-list .class-metas {
  margin-bottom: 20px;
  color: #999;
}
.home-class-list .class-metas .fa {
  margin-right: 5px;
  font-size: 18px;
}
.home-class-list .class-metas a {
  color: #555;
}
.home-class-list .class-teacher {
  margin-right: 20px;
}
.home-class-list .class-teacher span {
  margin-right: 10px;
}
@media (max-width: 767px) {
  .home-class-list .class-teacher {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.home-class-list .class-price {
  float: right;
  font-size: 18px;
}
@media (min-width: 1200px) {
  .home-class-list .class-price {
    margin-right: 50px;
  }
}
